package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 值班信息对象 duty_shift
 * 
 * @author txy
 * @date 2022-02-09
 */
public class DutyShift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班次ID */
    private String currentShift;

    /** 当前值班人 */
    @Excel(name = "当前值班人")
    private String currentPeople;

    /** 当前班次总收入 */
    @Excel(name = "当前班次总收入")
    private String shiftMoney;

    /** 上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shiftStartTime;

    /** 下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shitfEndTime;

    /** 交接人 */
    @Excel(name = "交接人")
    private String handoverPerson;

    /** 班次状态（1：上班 2：交班） */
    @Excel(name = "班次状态", readConverterExp = "1=：上班,2=：交班")
    private String shiftStatus;

    /** 当前班次押金 */
    @Excel(name = "当前班次押金")
    private String shiftDeposit;

    /** 备注 */
    @Excel(name = "备注")
    private String shiftRemarks;

    /** 上一班次交接押金 */
    @Excel(name = "上一班次交接押金")
    private String oldDeposit;

    //当前班次房间额外消费总收入
    private String totalConsumptionPrice;

    public void setCurrentShift(String currentShift) 
    {
        this.currentShift = currentShift;
    }

    public String getCurrentShift() 
    {
        return currentShift;
    }
    public void setCurrentPeople(String currentPeople) 
    {
        this.currentPeople = currentPeople;
    }

    public String getCurrentPeople() 
    {
        return currentPeople;
    }
    public void setShiftMoney(String shiftMoney) 
    {
        this.shiftMoney = shiftMoney;
    }

    public String getShiftMoney() 
    {
        return shiftMoney;
    }
    public void setShiftStartTime(Date shiftStartTime) 
    {
        this.shiftStartTime = shiftStartTime;
    }

    public Date getShiftStartTime() 
    {
        return shiftStartTime;
    }
    public void setShitfEndTime(Date shitfEndTime) 
    {
        this.shitfEndTime = shitfEndTime;
    }

    public Date getShitfEndTime() 
    {
        return shitfEndTime;
    }
    public void setHandoverPerson(String handoverPerson) 
    {
        this.handoverPerson = handoverPerson;
    }

    public String getHandoverPerson() 
    {
        return handoverPerson;
    }
    public void setShiftStatus(String shiftStatus) 
    {
        this.shiftStatus = shiftStatus;
    }

    public String getShiftStatus() 
    {
        return shiftStatus;
    }
    public void setShiftDeposit(String shiftDeposit) 
    {
        this.shiftDeposit = shiftDeposit;
    }

    public String getShiftDeposit() 
    {
        return shiftDeposit;
    }
    public void setShiftRemarks(String shiftRemarks) 
    {
        this.shiftRemarks = shiftRemarks;
    }

    public String getShiftRemarks() 
    {
        return shiftRemarks;
    }

    public String getOldDeposit() {
        return oldDeposit;
    }

    public void setOldDeposit(String oldDeposit) {
        this.oldDeposit = oldDeposit;
    }

    public String getTotalConsumptionPrice() {
        return totalConsumptionPrice;
    }

    public void setTotalConsumptionPrice(String totalConsumptionPrice) {
        this.totalConsumptionPrice = totalConsumptionPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("currentShift", getCurrentShift())
            .append("currentPeople", getCurrentPeople())
            .append("shiftMoney", getShiftMoney())
            .append("shiftStartTime", getShiftStartTime())
            .append("shitfEndTime", getShitfEndTime())
            .append("handoverPerson", getHandoverPerson())
            .append("shiftStatus", getShiftStatus())
            .append("shiftDeposit", getShiftDeposit())
            .append("shiftRemarks", getShiftRemarks())
            .toString();
    }
}
